﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 经纪人申请表
    ///</summary>
    public class FMApplyBroker
    {
        /// <summary>
        ///   店铺Id
        ///</summary>
        public int Store { get; set; } = 1;
        /// <summary>
        ///   上级经纪人Id 没有就是一级经纪人 默认0
        ///</summary>
        public int  ParentId { get; set; } = 0;
        /// <summary>
        ///   姓名 
        ///</summary>
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        ///</summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 申请人Openid 
        ///</summary>
        public string OpenId { get; set; }
    }

    /// <summary>
    /// 修改下级经纪人比例
    /// </summary>
    public class FMBrokerSare
    {
        /// <summary>
        ///   经纪人Id 
        ///</summary>
        public int id { get; set; } 
        /// <summary>
        ///   佣金比例 
        ///</summary>
        public double scale { get; set; }
      
    }
    /// <summary>
    /// 成员退出审核
    /// </summary>
    public class FMBrokerExit
    {
        /// <summary>
        ///  申请Id 
        ///</summary>
        public int id { get; set; }
        /// <summary> 
        ///  审核状态  1 审核通过 2 审核未通过
        ///</summary>
        public int state { get; set; }

    }
}
